package com.hncc.kumao.entity;

/**
 * 存储等待中的任务信息
 * @author chen
 *
 */
public class OfflineDownloadTaskWait {
    private String taskId;//任务id
    private int currentTime;//当前以等待时间
    private int totalTime;//一共需要等待的时间
    private boolean timeOut;//是否达到等待时间
    
    public String getTaskId() {
        return taskId;
    }
    public int getCurrentTime() {
        return currentTime;
    }
    public int getTotalTime() {
        return totalTime;
    }
    public boolean isTimeOut() {
        return timeOut;
    }
    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
    public void setCurrentTime(int currentTime) {
        this.currentTime = currentTime;
    }
    public void setTotalTime(int totalTime) {
        this.totalTime = totalTime;
    }
    public void setTimeOut(boolean timeOut) {
        this.timeOut = timeOut;
    }
    @Override
    public String toString() {
        return "OfflineDownloadTaskWait [taskId=" + taskId + ", currentTime=" + currentTime + ", totalTime=" + totalTime
                + ", timeOut=" + timeOut + "]";
    }
}
